package com.itlong.cloud.operate.dao;

import com.itlong.cloud.POJO.PO.InterfacePO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;



@Mapper
@Repository
public interface IOperateInterfaceDao {


    Integer save(Map<String,Object> params);

    Integer update(Map<String,Object> params);

    Integer deletes(@Param("ids")String[] ids,@Param("updateUserId") String updateUserId,@Param("updateTime")Date updateTime);

    List<InterfacePO> getList(@Param("interfaceName")String interfaceName,
                              @Param("status")int status,
                              @Param("startTime")Date startTime,
                              @Param("endTime")Date endTime);

    List<InterfacePO> getInterfacePageList(Map<String,Object> map);


    Integer getPageCount(Map<String,Object> map);

}
